class menuModel{
  constructor(){
    this.db = require('../../config/db')
  }
  //菜单查询
  menu(){
    let sql = 'select * from menuone'
    return this.db.query(sql)
  }
}

module.exports = new menuModel()
